package com.ctshk.rpc.bus.req;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("保存巴士站点req")
public class BusStopsSaveReq implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "ID，有值修改，无值新增")
    private Long id;

	@NotBlank(message = "站点名称不能为空")
    @ApiModelProperty(value = "站点名称")
    private String siteName;
    
    @ApiModelProperty(value = "城市id")
    private Long cityId;
    
    @ApiModelProperty(value = "城市名称")
    private String cityName;
}
